<!DOCTYPE html>
<html>
<head>
<title>Sample: dynamic-height support</title>
<!-- default container look and feel -->
<link rel="stylesheet" href="gadgets.css">
<script type="text/javascript" src="rpc.js?c=1"></script>
<script type="text/javascript" src="cookies.js"></script>
<script type="text/javascript" src="gadgets.js"></script>
<script type="text/javascript">
var specUrl0 = 'http://www.google.com/ig/modules/aue07otr.xml';

function init() {
  gadgets.container.layoutManager =
      new gadgets.FloatLeftLayoutManager('gadget-parent');

  gadgets.container.setParentUrl('rpc_relay.html');
  var gadget = gadgets.container.createGadget({widgetId: 10, specUrl: specUrl0});
  gadget.setServerBase('http://localhost:8080/gadgets/');
  gadgets.container.addGadget(gadget,10);
};

function renderGadgets() {
  gadgets.container.renderGadgets();
};
</script>
</head>
<body onLoad="init();renderGadgets()">
  <h2>Sample: dynamic-height support</h2>
  <div>(Requires a Shindig server running at http://localhost:8080)</div>
  <div id="gadget-parent" class="gadgets-gadget-parent"></div>
</body>
</html>
